home *** CD-ROM | disk | FTP | other *** search
/ Mac-Source 1994 July / Mac-Source_July_1994.iso / Other Langs / Tickle-4.0 (tcl) / library / help / tcl / variables / global < prev    next >
Encoding:
Text File  |  1993-10-26  |  530 b   |  16 lines  |  [TEXT/$Tcl]

  1.  
  2.           global varname ?varname ...?
  3.  
  4.  
  5.      DESCRIPTION
  6.           This command is ignored unless  a  Tcl  procedure  is  being
  7.           interpreted.   If so then it declares the given varname's to
  8.           be global variables rather than local ones.  For  the  dura-
  9.           tion  of  the current procedure (and only while executing in
  10.           the current procedure), any reference to any of the varnames
  11.           will refer to the global variable by the same name.
  12.  
  13.  
  14.      KEYWORDS
  15.           global, procedure, variable
  16.